public <T> List<T> findAll(Class<T> c){
	Session session = getLocalSession();
	Criteria cr = session.createCriteria(c);
	return cr.list();
}